package com.study.model.pojo.PSIpojo;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the purchase_detail database table.
 * 
 */
@Entity
@Table(name="purchase_detail")
@NamedQuery(name="PurchaseDetail.findAll", query="SELECT p FROM PurchaseDetail p")
public class PurchaseDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int purdetailid;

	private double goodsdiscount;

	private String goodsid;

	private int goodsnum;

	private double goodstotal;

	private String purorderid;

	private int purstate;

	private String remark;

	public PurchaseDetail() {
	}

	public int getPurdetailid() {
		return this.purdetailid;
	}

	public void setPurdetailid(int purdetailid) {
		this.purdetailid = purdetailid;
	}

	public double getGoodsdiscount() {
		return this.goodsdiscount;
	}

	public void setGoodsdiscount(double goodsdiscount) {
		this.goodsdiscount = goodsdiscount;
	}

	public String getGoodsid() {
		return this.goodsid;
	}

	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}

	public int getGoodsnum() {
		return this.goodsnum;
	}

	public void setGoodsnum(int goodsnum) {
		this.goodsnum = goodsnum;
	}

	public double getGoodstotal() {
		return this.goodstotal;
	}

	public void setGoodstotal(double goodstotal) {
		this.goodstotal = goodstotal;
	}

	public String getPurorderid() {
		return this.purorderid;
	}

	public void setPurorderid(String purorderid) {
		this.purorderid = purorderid;
	}

	public int getPurstate() {
		return this.purstate;
	}

	public void setPurstate(int purstate) {
		this.purstate = purstate;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}